package com.redlight.base;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * Created by chao on 2019/1/9.
 */
public class SysMenuBase extends TreeEntity<SysMenuBase> {
    private SysMenuBase parent;
    private String href;
    private String target;
    private String icon;
    private String permission;
    private String isShow;
    private String module;

    public SysMenuBase() {
    }

    public SysMenuBase(String id) {
        super(id);
    }

    @JSONField(
            serialize = false
    )
    public SysMenuBase getParent() {
        return this.parent;
    }

    public void setParent(SysMenuBase parent) {
        this.parent = parent;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getHref() {
        return this.href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public String getTarget() {
        return this.target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public String getIcon() {
        return this.icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Integer getSort() {
        return this.sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getPermission() {
        return this.permission;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }

    public String getIsShow() {
        return this.isShow;
    }

    public void setIsShow(String isShow) {
        this.isShow = isShow;
    }

    public String getModule() {
        return this.module;
    }

    public void setModule(String module) {
        this.module = module;
    }

    public String toString() {
        return this.name;
    }
}
